<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><%@page import="persistence.NotesVO"%><%@page import="persistence.NotesEngineDAO"%><html><head>	<link rel="stylesheet" href="css/demos.css" media="screen" type="text/css">	<script type="text/javascript" src="dhtml-suite.js"></script></head><body><% 		String filter = ( request.getParameter("filter") != null ) ? request.getParameter("filter") : "" ;		java.util.List<NotesVO> lsNotes = (new NotesEngineDAO()).listNotes(filter);		java.util.List<NotesVO> lsFolders = (new NotesEngineDAO()).listFolders();%>
<div>
<div style="position:absolute;"><tr><td><table id="folders">	<thead>		<tr>			<td>Tags</td>		</tr>			<tbody>		<tr>			<td style="background-color:#f0f2f4;">				<a style="text-decoration:none;color:black;" href="/stockblog/pages/notes_main.jsp"><center><b>ALL</b></center></a>			</td>		</tr>	<%	for(int x=0; x<lsFolders.size(); x++) { 		NotesVO vo = lsFolders.get(x);%>			<tr>			<td>				<a style="text-decoration:none;color:black;" href="/stockblog/pages/notes_main.jsp?filter=<%=vo.getTag()%>">					<%=vo.getTag()%>				</a>			</td>		</tr><% } %>	</tbody>			</thead>	</table></div><div style="position:absolute; left:120px"><table id="notes">	<thead>		<tr>			<td></td>			<td>Name</td>			<td>Stock</td>			<td>Date Alert</td>			<td>Date Update</td>			<td>Tags</td>		</tr>	</thead>
	<tbody><%	for(int x=0; x<lsNotes.size(); x++) { 		NotesVO vo = lsNotes.get(x);//		String img = (vo.getIconType().equals("1")) ? "notes.gif" : "";%>			<tr>			<td>					<a href="/stockblog/notes?id=<%=vo.getId()%>&action=delete&page=notes_main">						<img src="delete.gif" style="cursor:pointer;" border="0">					</a>			</td>			<td style="cursor:pointer;" onclick="showNotesDetail('<%=vo.getId()%>')"><%=vo.getName()%></td>			<td style="cursor:pointer;" title="date: <%=vo.getDateStock()%>" onclick="showChart('<%=vo.getStock()%>')"><%=vo.getStock()%></td>			<td><%=vo.getDateAlert()%></td>			<td><%=vo.getDateUpdate()%></td>			<td><%=vo.getTag()%></td>		</tr><% } %>	</tbody></table></td></tr></table></div></form>
<script type="text/javascript">function showChart(stock){	top.document.getElementById('window0').style.visibility = 'visible';  	top.frames.showChartStock("frameChartStock","stockChart",stock);} function showNotesDetail(id){ 	top.frames.frameMenuNotes.frameMenuNotesDetail.location = 'http://spymenow.s41.eatj.com/stockblog/pages/notes_detail.jsp?id='+id;}var tableWidgetObj_1 = new DHTMLSuite.tableWidget();tableWidgetObj_1.setTableId('folders');tableWidgetObj_1.setTableWidth(105);tableWidgetObj_1.setTableHeight(230);tableWidgetObj_1.setColumnSort(Array('S'));tableWidgetObj_1.init();var tableWidgetObj_2 = new DHTMLSuite.tableWidget();tableWidgetObj_2.setTableId('notes');tableWidgetObj_2.setTableWidth(580);tableWidgetObj_2.setTableHeight(230);tableWidgetObj_2.setColumnSort(Array(false,'S','S','S','S','S'));tableWidgetObj_2.init();</script><br></body></html>